package com.hui.blog_server.service.impl;

import com.hui.blog_server.mapper.CollectMapper;
import com.hui.blog_server.service.CollectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * @author 彩色的小灰
 */
@Service
public class CollectServiceImpl implements CollectService {

    @Autowired
    private CollectMapper collectMapper;

    @Override
    public List<Map<String, ?>> getAllCollect() {
        return collectMapper.getAllCollect();
    }
}
